package com.baimawangzi.recovery.service;

import com.baimawangzi.recovery.bean.Activity;
import com.baimawangzi.recovery.bean.PageBean;

import java.util.List;

public interface ActivityService {
    List<Activity> findByLimit(int m, int n);
    int add(Activity activity);
    int delete(int id);
    Activity findById(int id);
    int update(Activity activity);
    //获取页信息
    PageBean<Activity> getPageBean(int currentPage, int pageSize);
}
